package com.zzk.im.tool;

public class Constant {

    public static String APP_KEY = "kjop7#ceshi";
	public static String APP_CLIENT_ID = "YXA6gMPeoGRFEeaqcxVxvTai-A";
	public static String APP_CLIENT_SECRET = "YXA6t2ECV7_PyRN_NY9bjkQIIkUydrA";
	
	public static int APP_PAGE_SIZE = 10;//每页数量


	public static final int HTTP_METHOD_GET = 1;
	public static final int HTTP_METHOD_POST = 2;
	public static final int HTTP_METHOD_PUT = 3;
	public static final int HTTP_METHOD_DELETE = 4;


	//url
	public static final String URL_HOST = "https://a1.easemob.com/"+APP_KEY.replace("#","/")+"/";
	//token
	public static final String URR_TOKEN = URL_HOST+"token";
	//聊天
	public static final String URL_CHAT = URL_HOST+"chatmessages";
	public static final String URL_GROUP = URL_HOST+"chatgroups";
	public static final String URL_FILE = URL_HOST+"chatfiles";
	public static final String URL_ROOM = URL_HOST+"chatrooms";
	public static final String URL_MESSAGES = URL_HOST+"messages";
	public static final String URL_USER = URL_HOST+"users";
	
}